<?php
	include "../functions.php";
	// $arr =array('a','b',21=>'c',11);
	// $arr[25]='hdxj';
	// echo $arr[25];
	$arr = array(
		0=>array(0=>12,array(
			array(
				"188"
			)
		))
	);
	// echo $arr[0][0];
	// echo $arr[0][1][0][0];
	$user =array(
		0=>array(
			"name"=>"lisi",
			"age"=>22,
			"sex"=>"boy",
		),
		1=>array(
			"name"=>"xiaoyu",
			"age"=>21,
			"sex"=>"girl"
		)
	);
	//关联数组
	// echo "name:".$user['name']."  age:".$user['age']." sex:".$user['sex'];
	// echo $user['name'];
	// echo "xiaoyu age is :".$user[1]['age'];
	//便利学生的姓名
	// foreach($user as $s){
	// 	echo "<li>{$s['name']}</li>";
	// }
	// foreach($user as $key=>$s){
	// 	 $user[$key]['age']+=20;
	// 	 // echo $s['age']."<br/>";
	// }
	// p($user);
?>